package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.ArticleCase;
import com.caigou.pojo.ArticleCaseData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository("ArticleCaseMapper")
public interface ArticleCaseMapper {
    void saveArticleCaseData(ArticleCase articleCase);

    List<ArticleCaseData> loadArticleCaseData(@Param("articleId") String articleId);

    void deleteArticleCaseAllData(@Param("articleId") String articleId);
}
